package com.example.hackaton_it_planet.data.db

import androidx.room.Database
import androidx.room.RoomDatabase
import com.example.hackaton_it_planet.data.db.purchase.PurchaseDao
import com.example.hackaton_it_planet.data.db.wallet.WalletDao
import com.example.hackaton_it_planet.data.model.entities.PurchaseEntity
import com.example.hackaton_it_planet.data.model.entities.WalletEntity

@Database(
    entities = [
        WalletEntity::class,
        PurchaseEntity::class,
    ],
    version = 1
)
abstract class FinanceDatabase: RoomDatabase() {
    abstract val walletDAO: WalletDao
    abstract val purchaseDao: PurchaseDao
}